/ Assembly List / LJCDBMessage / DbCommon / RequestKeys

Namespace - LJCDBMessage


Parameters
keyColumns - The Key columns.
baseDefinition - The Base DataDefinition columns.
dbJoins - The joins definition.

Returns

The DbColumns object.

Syntax

C#
public static DbColumns RequestKeys(DbColumns keyColumns, DbColumns baseDefinition, DbJoins dbJoins = null)

Gets Request Key columns from the baseDefinition using the keyColumns and dbJoins.

Remarks

Generally used in the Delete() Load() and Retrieve() manager methods to define the key columns and values.

This method allows pre-qualified Join Column names.

Creates a DbColumns collection of data definitions from the baseDefinition parameter whose PropertyName values match the unqualified names in the keyColumns parameter.

The DbColumn definitions include the original potentially qualified Key Column ColumnName and Value.

The DbColumn definitions also include the original potentially qualified Join Column ColumnName and Value if it is found in the Join Column definitions.

A valid Join ColumnName is included unmodified if the ColumnName is already qualified with a Table Name or Alias. Otherwise the ColumnName is qualified with the Join TableName or Alias.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.